package ifmo.group5512.entity;

import java.util.HashSet;
import java.util.Set;

public class Order {

	private Integer id;

    private Set orderStates = new HashSet();

    private Integer beginDate;

    private Integer priority;

    private Float totalSum;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setBeginDate(Integer beginDate) {
        this.beginDate = beginDate;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public void setTotalSum(Float totalSum) {
        this.totalSum = totalSum;
    }

    public Integer getId() {
        return id;
    }

    public Set getOrderStates() {
        return orderStates;
    }

    public void setOrderStates(Set orderStates) {
        this.orderStates = orderStates;
    }

    public Integer getBeginDate() {
        return beginDate;
    }

    public Integer getPriority() {
        return priority;
    }

    public Float getTotalSum() {
        return totalSum;
    }

    public Order(){}

}
